package cn.gemiman.daoyi.module.cms.controller.admin.appsitecomment.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.gemiman.daoyi.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.gemiman.daoyi.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 站点评论分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppSiteCommentPageReqVO extends PageParam {

    @Schema(description = "用户类型", example = "2")
    private Integer userType;

    @Schema(description = "用户编号", example = "26246")
    private Long userId;

    @Schema(description = "用户昵称", example = "王五")
    private String userNickname;

    @Schema(description = "用户头像", example = "https://www.iocoder.cn/xxx.png")
    private String userAvatar;

    @Schema(description = "站点编号", example = "19714")
    private Long appSiteId;

    @Schema(description = "站点标识", example = "4541")
    private String appId;

    @Schema(description = "栏目编号", example = "4827")
    private Long categoryId;

    @Schema(description = "文章编号", example = "15039")
    private Long articleId;
    /**
     * 说说编号
     */
    @Schema(description = "说说编号", example = "15039")
    private Long talkId;
    /**
     * 留言编号
     */
    @Schema(description = "留言编号", example = "15039")
    private Long messageId;

    @Schema(description = "父级编号", example = "4654")
    private Long parentId;

    @Schema(description = "父级编号集")
    private String parentIds;

    @Schema(description = "内容")
    private String commentContent;

    @Schema(description = "评论状态", example = "1")
    private Integer status;

    @Schema(description = "审核状态", example = "2")
    private Integer approveStatus;

    @Schema(description = "创建者ip")
    private String creatorIp;

    @Schema(description = "创建者城市")
    private String creatorCity;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
